<?php include("header.html"); ?>

<head>
	<title>DANE KONTAKTOWE OPIEKUNÓW</title>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>system/application/styles/danekontaktowe_uczen_view.css" />
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="generator" content="Geany 0.16" />
    <script type="text/javascript" src="<?php echo base_url();?>system/javascript/jquery.idTabs.min.js"></script>
</head>
<body>
<div id="tytul">
	<H1 align="center"> Dane kontaktowe: </H1>
</div>
<br>
<div id="space">
	<div id="picture">
		<img src="<?php echo base_url(); ?>system/application/styles/name1.png"></a>
   	</div>
<div id="tytul1">
	<H4> Dane o uczniu:</H4>
</div>
<table>

<?php

	foreach ($uczen->result() as $row)
    {
   		echo  "<tr><td>IMIĘ: </td><td> " . $row->firstname . "</td></tr>";
   		echo  "<tr><td>NAZWISKO: </td><td> " . $row->secondname . "</td></tr>";
   		echo  "<tr><td>DATA URODZENIA: </td><td> " . $row->birth . "</td></tr>";
   		echo  "<tr><td>EMAIL: </td><td><a href=\"mailto:" . $row->email ."\">" . $row->email ."</a></td></tr>";		
    }

?>

</table>
<br>
<br>
<div id="tytul1">
	<H4> Dane o opiekunach:</H4>
</div>
<table>

<?php

	foreach ($opiekunowie->result() as $row)
    {
   		
	    echo  "<tr><td>IMIĘ: </td><td>" . $row->imie . "</td></tr>";
   		echo  "<tr><td>NAZWISKO: </td><td>" . $row->nazwisko . "</td></tr>";
   		echo  "<tr><td>TELEFON KONTAKTOWY: </td><td>" . $row->telefon . "</td></tr>";
   		echo  "<tr><td>EMAIL:  </td><td><a href=\"mailto:" . $row->email ."\">" . $row->email ."</a></td></tr>";
   		echo  "<tr><td>ADRES: </td><td>" . $row->adres . "</td></tr>";		
   		echo  "<tr>  <td></td><td>  </td></tr>";
   		echo  "<tr>  <td></td><td>  </td></tr>";
   		echo  "<tr>  <td></td><td>  </td></tr>";
   		echo  "<tr>  <td></td><td>  </td></tr>";
    }

?>
</div>
</table>
</body>